<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>考核方案</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link
	href="#{facesContext.externalContext.requestContextPath}/css/public.css"
	rel="stylesheet" type="text/css" media="screen" />
<link
	href="#{facesContext.externalContext.requestContextPath}/css/main.css"
	rel="stylesheet" type="text/css" media="screen" />
<link
	href="#{facesContext.externalContext.requestContextPath}/css/work.css"
	rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<a4j:form>
	<div id="right">
	<div id="msgid" class="error pt10p bcf c0 tal" style="display: ">
	<a4j:outputPanel id="msgPanel">
		<center><h:outputText styleClass="cff" value="#{QualifyforBB.msg}" /></center>
		<center>【友情提示】请考生注意考试时间！超时者不能继续考试！　　　　　　系统非正常退出情况，请考试重新登录继续答题！　　　　　　如有问题请联系管理员或者导师 </center>
	</a4j:outputPanel></div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse">
		<tr>
			<td>技能组<h:selectOneMenu
				class="style_input" value="#{QualifyforBB.tp_userkind}">
				<f:selectItem />
				<f:selectItems value="#{paramBB.selectItems_param}" />
			</h:selectOneMenu></td>
			<td><a4j:commandButton styleClass="buttonbg" value="查询"
				action="#{QualifyforBB.queryExaminebanksByAccount}"
				reRender="exmtable,msgPanel,cutpage" /></td>
		</tr>
	</table>
	</div>
	<div class="tablelist2"><rich:dataTable id="exmtable"
		rowClasses=",yellow" width="100%" value="#{QualifyforBB.testeeExaminebanks}"
		var="table">
		<a4j:keepAlive beanName="QualifyforBB" />
		<f:facet name="header">
			<rich:columnGroup>
				<rich:column>
					<h:outputText value="选择" />
				</rich:column>
				<rich:column>
					<h:outputText value="考核名称" />
				</rich:column>
				<rich:column>
					<h:outputText value="培训方案" />
				</rich:column>
				<rich:column>
					<h:outputText value="技能组" />
				</rich:column>
				<rich:column>
					<h:outputText value="有效开始时间" />
				</rich:column>
				<rich:column>
					<h:outputText value="有效结束时间" />
				</rich:column>
				<rich:column>
					<h:outputText value="考核时间(分钟)" />
				</rich:column>
				<rich:column>
					<h:outputText value="考核状态" />
				</rich:column>
				<rich:column>
					<h:outputText value="总分" />
				</rich:column>
				<rich:column>
					<h:outputText value="得分" />
				</rich:column>
			</rich:columnGroup>
		</f:facet>
		<rich:columnGroup>
			<rich:column>
				<h:selectBooleanCheckbox value="#{table.select}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_e_aim}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_planname}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_userkind_value}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_usedbegin}">
					<f:convertDateTime pattern="yyyy-MM-dd" timeZone="GMT+8" />
				</h:outputText>
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_usedend}">
					<f:convertDateTime pattern="yyyy-MM-dd" timeZone="GMT+8" />
				</h:outputText>
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.examinebank.tp_t_time}" />
			</rich:column>
			<rich:column>
				<h:outputText style="color:#{(table.complete_flag_value=='完成')?'blue':'red'}" value="#{table.complete_flag_value}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.score}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.account}" />
			</rich:column>
		</rich:columnGroup>
	</rich:dataTable></div>
	
	<div class="listbut">  <h:commandButton
		styleClass="buttonbg2" value="开始考试"
		action="#{QualifyforBB.toPapersExam}" reRender="msgPanel" />
		 <h:commandButton
		styleClass="buttonbg2" value="查看答题情况"
		action="#{QualifyforBB.toPapersExamList}" reRender="msgPanel" /></div>
	</div>
</a4j:form>
</body>
</html>

